package ren.kane.asdppp.classification;

import ren.kane.asdppp.transaction.pay.Paycheck;

/**
 * @author renrk(1275) on 2019-04-09 8:28 PM
 **/
public class SalariedClassification implements PaymentClassification {

    private double salary;

    public SalariedClassification() {
    }

    public SalariedClassification(double salary) {
        this.salary = salary;
    }

    public double getSalary() {
        return salary;
    }

    @Override
    public double calculatePay(Paycheck paycheck) {
        return salary;
    }
}
